package com.daxidi.cn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.daxidi.cn.entity.Shop;
import com.daxidi.cn.vo.ShopBillVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商铺表 服务类
 * </p>
 *
 * @author wsh
 * @since 2020-11-09
 */
public interface IShopService extends IService<Shop> {
    public void addShop(Shop shop);

    public void deleteShopById(Long id);

    public void updateShopById(Shop shop);

    public Shop selectShop(Long id);

    public ShopBillVo selectShopBillVo(Integer id);

    public List<ShopBillVo> selectLikeShops(String shopName);

    public List<ShopBillVo> selectShops();

    public String getSubMchId(Long orderId);

    public Map searchShop(Integer page,Integer limit,String boss,String phone,String beginTime,String endTime,String enable);

}
